import 'package:flutter/material.dart';

class LoginPage extends StatefulWidget {
  LoginPage({Key key}) : super(key: key);

  @override
  _LoginPageState createState() => _LoginPageState();
}

class _LoginPageState extends State<LoginPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("登录页面"),
      ),
      body: Center(
       child: Column( 
        children: <Widget>[
          SizedBox(height: 30),
          RaisedButton(
            child: Text("登录"),
            onPressed: (){
              // print(Navigator.of(context));
              Navigator.of(context).pop();
            },
          ),
          Text("我是文本"),
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[  
              RaisedButton(
                child: Text("登录"),
                onPressed: (){
                  // print(Navigator.of(context));
                  Navigator.of(context).pop();
                },
              ),
              Text("我是文本12321311112")
            ],
          )
        ],
       ),
      )
    );
  }
}